AXIS#.EIP.VUNIT.IN

Description

This parameter, along with AXIS#.EIP.VUNIT.OUT, determines the EtherNet/IP velocity and acceleration unit scaling in counts per velocity unit. The units for IN are in counts.

Velocity units are revolutions per second for rotary motors and AXIS#.MOTOR.PITCH’s per second for linear motors.

The default for IN is 216 counts and OUT is 1 velocity unit, which sets EtherNet/IP units to be 216 counts per velocity unit, or for example in rotaries, 216 counts per revolution per second.


  • AXIS#.EIP.VUNIT.IN and AXIS#.EIP.VUNIT.OUT replace the deprecated keyword AXIS#.EIP.PROFUNIT as they permit a more flexible scaling scheme that can utilize more than just 2x counts/rev scales. AXIS#.EIP.PROFUNIT is still supported for older applications and setting it will update the IN and OUT keywords.

Example

Rotary Motor

To get EtherNet/IP values in RPM, the seconds need to be converted to minutes by setting IN to 60:

-->AXIS1.EIP.VUNIT.IN 60
-->AXIS1.EIP.VUNIT.OUT 1

With this scaling, an EtherNet/IP value of 100 would be processed as a velocity of 100 RPM and acceleration of 100 RPM/s.

For a linear motor needing units to be in micrometers per second, the value needs to be converted from counts per motor pitch in millimeters to micrometers. For example, if the motor pitch is 32mm, the value of both IN and OUT set to 1 will be counts per 32mm per second. First, we set IN to 32 to get counts of mm/s. Then to convert to micrometers, we add a factor of 1000 micrometers/mm:

-->AXIS1.EIP.VUNIT.IN 32000
-->AXIS1.EIP.VUNIT.OUT 1

With this scaling, an EtherNet/IP value of 100 would be processed as a velocity of 100 um/s and acceleration of 100 um/s2.

For an example of EtherNet/IP scaling with the linear servo motor see Example 8: Direct Drive Linear Motor with Linear Encoder (as primary feedback).

Context

See Velocity and Acceleration Unit Scaling.

Versions

Action Version Notes
Implemented 02-10-04-000

General Information

Type

Read/Write

Units

N/A

Range

1 to 232-1

Default Value

1

Data Type

Integer

Stored in Non-Volatile Memory

Yes

Variants Supported

EtherNet/IP drives: AKD2G-SPI

Industrial Ethernet Information

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

7542

1

7542 (0x1d76)

AXIS1.EIP.VUNIT.IN

Unsigned32

Read/Write

Yes

73078

2

7542 (0x1d76)

AXIS2.EIP.VUNIT.IN

Unsigned32

Read/Write

Yes